
<style>
    .layui-col-md6 {
        width: 100%;
    }
    .layui-col-space15>* {
        padding: 8.5px;
    }
    .boxs1{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding-left: 9px;
    }
    .boxs2{
        display: flex;

        flex-wrap: wrap;
        padding-left: 9px;
    }
    .fex {
        display: flex;
        margin: 5px;
    }
    .fex p{
        width: 87px;

    }
    .fex .ip{
        padding: 5px 0;
        font-size: 12px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }


    .main{
        display: flex;

    }

    .layui-card-header {
        position: relative;
        height: 37px;
        line-height: 37px;
        padding: 0 13px;
        border-bottom: 1px solid #f6f6f6;
        color: #333;
        border-radius: 2px 2px 0 0;
        font-size: 14px;
    }
    textarea{
        resize: none;
    }
    .layui-table-tool{display: none !important;}
</style>
<div class="layui-bg-gray" style="padding: 0px;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">档案信息：</div>
                <div class="main">
                    <div class="boxs1">
                        <div class="fex">
                            <p>互见号：</p>
                            <input class="ip" value="{$archivesAdmin.route_name}" readonly  />
                        </div>
                        <div class="fex">
                            <p>档号：</p>
                            <input class="ip"  value="{$archivesAdmin.reference}-{$archivesAdmin.key}" readonly />
                        </div>
                        <div class="fex">
                            <p>案卷页数：</p>
                            <input class="ip" value="{$archivesAdmin.page_number}" readonly />
                        </div>
                    </div>
                    <div class="boxs1">

                        <div class="fex">
                            <p>保管期限：</p>
                           <input class="ip" value="{if $archivesAdmin['term'] ==1 } 永久{/if}{if $archivesAdmin['term'] ==2 }10年 {/if}{if $archivesAdmin['term'] ==3 } 20年{/if}" readonly />
                        </div>
                        <div class="fex">
                            <p>档案密级：</p>
                          <input  readonly  class="ip" value="空"/>
                        </div>
                        <div class="fex">
                            <p>起止日期：</p>
                            <input class="ips ip" readonly  value="{$archivesAdmin.start_time}&nbsp;-&nbsp;{$archivesAdmin.end_time}"></div>

                    </div>
                    <div class="boxs2"><div class="fex">
                        <p>案卷题名：</p>
                        <textarea class="ip" rows="4"  readonly  cols="50">{$archivesAdmin.name}</textarea>
                    </div>
                        <div class="fex">
                            <p>备考表说明：</p>
                            <textarea class="ip" rows="4"  readonly  cols="50">{$archivesAdmin.explain}</textarea>
                        </div>
                        <div class="fex">
                            <p>备注：</p>

                            <textarea class="ip" rows="4" readonly  cols="50">{$archivesAdmin.remarks}</textarea>
                        </div></div>
                </div>

            </div>
        </div>
    </div>
</div>


<div class="layuimini-container">
    <div class="layuimini-main">
        <form class="layui-form layui-form-pane" action="">
            <div class="layui-form-item">
                <div class="layui-inline" style="float: left;">
                    <a href="javascript:history.back()" class="layui-btn layui-btn-normal">返回</a>
                </div>
                <div class="layui-input-inline mr0">
                    <input id="keywords" class="layui-input" name="keywords" type="text" placeholder="输入文件提名"/>
                </div>
                <div class="layui-inline">
                    <button type="button" class="layui-btn layui-btn-normal" data-type="reload" id="searchBtn">搜索</button>
                </div>
            </div>
        </form>
        <input type="hidden" id="archives_id" value="{$archivesAdmin.id}">
        <input type="hidden" id="reference" value="{$archivesAdmin.reference}">
        <table id="archivesFile" class="layui-table" lay-filter="archivesFile"></table>
    </div>
</div>